package com.ruoyi.web.districtclass.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * districtclass对象 districtclass
 * 
 * @author ruoyi
 * @date 2024-09-26
 */
@Entity
@Table(name="districtclass")
public class Districtclass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @Id
    /** 地区编码 */
    private String cDCCode;

    /** 地区名称 */
    @Excel(name = "地区名称")
    private String cDCName;

    /** 编码级次 */
    @Excel(name = "编码级次")
    private Long iDCGrade;

    /** 是否末级 */
    @Excel(name = "是否末级")
    private Integer bDCEnd;

    /** 时间戳 */
    @Excel(name = "时间戳")
    private String pubufts;

    public void setcDCCode(String cDCCode) 
    {
        this.cDCCode = cDCCode;
    }

    public String getcDCCode() 
    {
        return cDCCode;
    }
    public void setcDCName(String cDCName) 
    {
        this.cDCName = cDCName;
    }

    public String getcDCName() 
    {
        return cDCName;
    }
    public void setiDCGrade(Long iDCGrade) 
    {
        this.iDCGrade = iDCGrade;
    }

    public Long getiDCGrade() 
    {
        return iDCGrade;
    }
    public void setbDCEnd(Integer bDCEnd) 
    {
        this.bDCEnd = bDCEnd;
    }

    public Integer getbDCEnd() 
    {
        return bDCEnd;
    }
    public void setPubufts(String pubufts) 
    {
        this.pubufts = pubufts;
    }

    public String getPubufts() 
    {
        return pubufts;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cDCCode", getcDCCode())
            .append("cDCName", getcDCName())
            .append("iDCGrade", getiDCGrade())
            .append("bDCEnd", getbDCEnd())
            .append("pubufts", getPubufts())
            .toString();
    }
}
